const s = "<h1>Remove all <b>html tags</n></h1>" s.replace(new RegExp('<[^>]*>', 'g'), '')
String target = someString.replaceAll("<[^>]*>", "");